Imports Microsoft.VisualBasic

Public Class ErrorRow

    Private _errField As String 'the field with the problem
    Private _errValue As String 'the problematic value
    Private _errMessage As String 'the message to display explaining why that field's value is wrong



    Public Property Field() As String
        Get
            Return _errField
        End Get
        Set(ByVal value As String)
            _errField = value
        End Set
    End Property

    Public Property Value() As String
        Get
            Return _errValue
        End Get
        Set(ByVal value As String)
            _errValue = value
        End Set
    End Property

    Public Property Message() As String
        Get
            Return _errMessage
        End Get
        Set(ByVal value As String)
            _errMessage = value
        End Set
    End Property

End Class
